// mysql
const mysql = require('mysql');

// 连接数据库

const db = mysql.createPool({
  host: '127.0.0.1',
  port: 3306,
  user: 'root',
  password: '123',
  database: 'node_my_db',
})


module.exports = db
